package test.kryonet.network;

import test.kryonet.network.data.events.AbstractEvent;

import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryonet.EndPoint;

public class Network {
	public static final int TIME_OUT = 5000;
	public static final int PORT_TCP = 5444;
	public static final int PORT_UDP = 6999;
	public static String HOST_ADRESS = "192.227.166.97";
	
	public static void register(EndPoint end ) {
		Kryo kryo = end.getKryo();
		kryo.register(DataType1.class);
		kryo.register(AbstractEvent.class);
		kryo.register(String.class);
		System.out.println("Registered classes for an EndPoint");
	}
}
